package com.example.list_view;

/**
 * 定义一个实体类类型
 */

public class Entity{
    private String title;
    private int img;

    public Entity(String title, int img) {
        this.title = title;
        this.img = img;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }
}
